package hcn.mch.response;

import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

/**
 * @author fzy91
 * @title: PremaritalGenitalTractInfection
 * @projectName GOL-ssdev4
 * @description:  婚前医学检查生殖道感染
 * @date 2022/11/8 10:21
 */
public class PremaritalGenitalTractInfection implements Serializable {
    /*细菌性阴道病 0否，1是*/
    private Integer bacterialVaginosis;
    /*念珠菌感染 0阴性，1阳性*/
    private Integer candidaInfection;
    /*滴虫感染 0阴性，1阳性*/
    private Integer trichomonalInfection;

    public Integer getBacterialVaginosis() {
        return bacterialVaginosis;
    }

    public void setBacterialVaginosis(Integer bacterialVaginosis) {
        this.bacterialVaginosis = bacterialVaginosis;
    }

    @XmlElement(name = "CandidaInfection")
    public Integer getCandidaInfection() {
        return candidaInfection;
    }

    public void setCandidaInfection(Integer candidaInfection) {
        this.candidaInfection = candidaInfection;
    }

    @XmlElement(name = "TrichomonalInfection")
    public Integer getTrichomonalInfection() {
        return trichomonalInfection;
    }

    public void setTrichomonalInfection(Integer trichomonalInfection) {
        this.trichomonalInfection = trichomonalInfection;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"bacterialVaginosis\":")
                .append(bacterialVaginosis);
        sb.append(",\"candidaInfection\":")
                .append(candidaInfection);
        sb.append(",\"trichomonalInfection\":")
                .append(trichomonalInfection);
        sb.append('}');
        return sb.toString();
    }
}

